home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2827 < prev    next >
Encoding:
Text File  |  1996-08-05  |  988 b   |  27 lines

  1. Newsgroups: comp.lang.c++,comp.sys.amiga.programmer
  2. Path: news2.interlog.com!rose!awhite
  3. From: awhite@user.rose.com (A White)
  4. Subject: library of class functions
  5. Sender: news@rose.com (news)
  6. Organization: Rose Media Incorpoarted, Ontario, Canada
  7. Message-ID: <DMBE72.7J6@rose.com>
  8. Date: Mon, 5 Feb 1996 18:04:13 GMT
  9.  
  10. I've being playing with a sample String class from a text book.  Things are
  11. looking pretty good.
  12.  
  13. I split the individual functions into seperate files, individially compiled,
  14. and then placed into a link-library.
  15.  
  16. When I make a small test module and link in the library, many references
  17. are not found, including constructors and directly referenced functions.
  18.  
  19. I'm using SAS/C++ v6.50
  20.  
  21. What started this was curiousity as to whether or not a reference in a class
  22. structure links in a module that has no other reference.
  23.  
  24. For example, if the class has a pad and trim function, and the test module
  25. only uses pad, is trim linked in?  From what I've seen of map files, it is.
  26.  
  27.